<template>
  <div class="Home">
    <h1 style="text-align: center;">欢迎来到博客系统</h1>
    <router-link :to="{name:'ListHome'}"><p>首页</p></router-link>
    <router-link :to="{name:'create'}"><p>发布</p></router-link>
    <router-link :to="{name:'create'}"><p>评论</p></router-link>
  </div>
  <router-view>
  </router-view>
</template>

<script setup>

</script>

<style scoped>
*{
  background: url(../assets/image/bj.jpg);
}
.Home{
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}
.Home p{
  display: inline;
  font-size: 20px;
  margin: 10px;
}
</style>